package architecture.base.service;

import java.io.Serializable;
import java.util.List;

public interface BaseService<Entity extends Serializable> {

	public boolean save(Entity entity);
	
	public boolean[] save(Entity[] entities);
	
	public List<Entity> findAll();
	
	public Entity findById(Integer id);
	
	public Entity[] findByIds(Integer[] ids);
	
	public void delete(Entity eneity);
}
